package jrain.fw.script.operator;

import jrain.fw.script.tools.Logger;

//减法操作
public class MinusOperator extends ArithmeticOperator {

	public static final MinusOperator SINGLETON = new MinusOperator();

	public MinusOperator() {
	}

	public String getOperatorSymbol() {
		return "-";
	}

	public double apply(double pLeft, double pRight, Logger pLogger) {
		return pLeft - pRight;
	}

	public long apply(long pLeft, long pRight, Logger pLogger) {
		return pLeft - pRight;
	}

}
